package com.ethink.warehouse.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 库存矫正记录 新增请求对象
 *
 * @author default
 * @date 2022-11-17
 */
@Data
public class MateInventoryAdjustLogAddRequest {

    @Schema(description ="分仓编号")
    @NotNull
    private String subWarehouseCode;

    @Schema(description ="枚举 订单状态:1-草稿(s1)|2-待审批(s2)|3-完成(s3)")
    private Integer orderStatus;

    @NotNull
    @Schema(description ="枚举 类型:1-批次矫正(t1)")
    private Integer adjustType;

    @Schema(description ="原因")
    private String adjustReason;

    @Schema(description ="备注信息")
    private String remark;

    private List<MateInventoryAdjustLogDetailAddRequest> items;

    @Schema(description ="操作人账号", hidden = true)
    private String createUserCode;

    @Schema(description ="操作人名称", hidden = true)
    private String createUserName;
}
